public class Person{
    private String name;
    public void setname (String name ){
        this.name = name ;
    }
    public void sayHello()
    {
        System.out.println("Hello,my name is"+name);
    }
}